package com.eportal.service;

import java.lang.reflect.InvocationTargetException;
import java.util.List;
import java.util.Map;

import com.eportal.domain.LifeTel;
import com.framework.jqgrid.JqGridPager;

public interface LifeTelService {

	LifeTel save(LifeTel lifeTel)throws Exception;

    void delete(List<Long> ids);

    LifeTel get(Long id);

    void update(LifeTel lifeTel) throws InvocationTargetException, IllegalAccessException, Exception;


    /**
     * 带分页显示
     *
     * @param jqGridPager
     * @return
     */
    List<Map<String, Object>> list(JqGridPager jqGridPager);

	Map<String, Object> addMethod(LifeTel lifeTel);

	Map<String, Object> updateMethod(LifeTel lifeTel);

	Map<String, Object> deleteMethod(String ids);

	List<Map<String, Object>> queryBySql(String where);

}
